package ding;

public class Remove {

/*
    public static void main(String[] args) {

        FileTest root = new FileTest("C:\\Users\\dinglei\\Desktop\\格式化后");

        deep(root);


    }


    private static void deep(FileTest file) {

        if (file.isDirectory()) {
            FileTest[] files = file.listFiles();

            if (files != null && files.length > 0) {
                for (FileTest file1 : files) {
                    deep(file1);
                }
            }
        } else {

            boolean delete = file.delete();
            System.out.println("删除:"+file);
            if (!delete) {
                System.out.println("删除失败");
            }
        }

    }
*/





}
